@echo off
REM ====== 阶段1：项目准备 ======
set PROJECT_ROOT=D:\phpstudy_pro\WWW\oa.laizone.com
cd /d %PROJECT_ROOT%

REM 创建迁移目录
mkdir migration
mkdir migration\backend
mkdir migration\frontend
mkdir migration\frontend\layui_legacy

REM 复制原项目文件
xcopy /E /I app migration\backend\application
xcopy /E /I public\static migration\frontend\layui_legacy

echo  阶段1完成：项目备份完成
pause